﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
   



    <Style x:Key="{x:Type ListViewItem}" TargetType="ListViewItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListViewItem">
                    <Grid Margin="2,2,2,2">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="125"/>
                            <ColumnDefinition Width="125"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="30"/>
                        </Grid.RowDefinitions>
                        <Border Grid.ColumnSpan="5" 
                                Background="{StaticResource LightBrush}"
                                BorderBrush="{StaticResource ItemBorderBrush}"
                                Margin="1"
                                BorderThickness="0.6" 
                                CornerRadius="8"              
                                Padding="6"     
                                SnapsToDevicePixels="True"/>
                        <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="0" Name="Name" Text="{Binding Path=Name}" />
                        <TextBlock Height="22" HorizontalAlignment="Center" Margin="5"  VerticalAlignment="Center" Grid.Column="1" Name="Vorname" Text="{Binding Path=Vorname}" />
                    </Grid>

                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    

</ResourceDictionary>